package com.lt.utils.Activity;

import android.content.Context;

/**
 * @author LiuTong
 */
public class AndroidConfig {
    private static volatile AndroidConfig instance;
    private Context context;
    private AndroidConfig(){
    }
    public static AndroidConfig getInstance(){
        if(instance == null){
            synchronized (AndroidConfig.class){
                if(instance == null){
                    instance = new AndroidConfig();
                }
            }
        }
        return instance;
    }
    public void init(Context context){
        this.context =context;
    }
    public Context getAppContext(){
        return context;
    }
}
